堆栈上弹;堆栈上托
With this arrangement, even if Thread B has modified the top while Thread A tries to pop, you're sure that no elements in the stack are skipped.
这样,即使线程B在线程A试图弹出数据的同时修改了堆栈顶,也可以确保不会跳过堆栈中的元素。
英语网 · 双语娱乐资讯
英语网 · 英语口语
英语网 · 英语词汇